<%--
  Created by IntelliJ IDEA.
  User: 86178
  Date: 2023/7/4
  Time: 11:28
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>登录</title>
  <link rel="stylesheet" href="CSS/userstyle.css">
  <link rel="stylesheet" href="CSS/common.css">
  <script src="JS/userLogin.js"></script>
</head>
<body>
<div class="userbackground">
  <div class="centerImage">
    <div class="close"></div>
    <div class="logintitle">
      <h3>密码登录</h3>
    </div>
    <div>
      <form action="register" method="post" id="registerMessage">
        <ul class="userlogin">
          <li><input type="text" placeholder="用户名" name="username" id="username"
                     value="${usermessage.object.username}"></li>
          <li><input type="password" placeholder="password" name="password" id="password"
                     value="${usermessage.object.password}">
            <div class="message" id="msg">${usermessage.message}</div>
          </li>
          <li>
            <%--                        <input class="loginbutton" type="button" value="注册" onclick="setLogin()">--%>
            <%--                        <button class="loginbutton" type="button"><a href="#">注册</a></button>--%>
            <div class="backlogin"><a href="user.jsp">用已有账号登录</a></div>
            <input class="loginbutton" type="button" value="注册" onclick="setLogin()">
          </li>
        </ul>
      </form>
    </div>
    <div class="loginhelp">
      <span class="remember"><label><input type="checkbox" name="" id=""> 记住我</label></span>
      <span class="resetpassword"><a href="#">忘记密码？</a> </span>
    </div>
    <div class="otherlogin">
      <div>其他登录方式</div>
      <div class="loginselect">
        <div class="loginway"><img src="res/wechat.png" alt="" class="Img">
          <span><a href="#">微信登录</a></span>
        </div>

        <div class="loginway"><img src="res/phone.png" alt="" class="Img">
          <span><a href="#">手机号登录</a></span>
        </div>
        <div class="loginway"><img src="res/qq.png" alt="" class="Img">
          <span><a href="#">QQ登录</a></span>
        </div>
      </div>

    </div>
    <div class="clickwrap">
      <p>登录或完成注册即代表你同意
        <span><a href="#">用户协议</a></span>
        <span>和</span>
        <span><a href="#">隐私政策</a></span>
      </p>
    </div>
  </div>
</div>
</body>
</html>
